package ooday04;

import java.sql.SQLOutput;

public class InnerClassDemo {
    public static void main(String[] args) {
        Mama mama=new Mama();
        mama.create();

    }
}

class Mama{
    String name="妈妈";
    void create(){
        Baby b=new Baby();
        b.show();
    }
    class Baby{
        void show(){
            System.out.println(name);
            System.out.println(Mama.this.name);
        }
    }
}
